[MIRROR] Incoming stamina damage while in stamcrit has diminishing returns applied #3788
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mirrored on Nova: NovaSector/NovaSector#2987
Original PR: tgstation/tgstation#83445
About The Pull Request
After being put in stamcrit, future incoming stamina damage has "diminishing returns" applied*.
The formula looks like
ceil(sqrt(amount of stamina damage) / 2) - times you have taken stamina damage in stamcrit
.This means eventually stamina based damage will do less than zero damage, and thus, not contribute to keeping stamcrit active.
Very, very low amounts of stamina damage (such as from chems) contribute to DR 1/20th the amount.
*Note, this is not real diminishing returns because making it real diminishing returns would be pointless, you are capped to 120 stamina damage so 99.99% of the time you take stam damage while in stam crit you're already capped. This is just faking the effect.
In its current stat this means that a stun baton will stop being able to keep someone in stamcrit after the 5th hit, and a stock disabler will stop being able to keep someone in stamcrit after the 4th hit.
Why It's Good For The Game
Mostly just an experiment. I don't imagine it will shake up much about the baton situation in its current state.
There's also no grace period after getting UP - so like you can just be stamcritted right after anyways. Maybe there should be one? Food for thought.
And yes of course you can just space out your hits, you're not clever for thinking about that
Changelog
🆑 Melbert
balance: Taking stamina damage in stamcrit has diminishing returns associated, meaning you cannot be infinitely stamcrit.
/:cl: